package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-mpls-故障检测bfp对象 element_busi_mpls_alarmbfp
 *
 * @author net
 * @date 2024-11-30
 */
public class ElementBusiMplsAlarmbfp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** PMLS-TP业务ID */
    @Excel(name = "PMLS-TP业务ID")
    @ApiModelProperty(value = "PMLS-TP业务ID")
    private String mplstpId;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** BFP名称 */
    @Excel(name = "BFP名称")
    @ApiModelProperty(value = "BFP名称")
    private String bfpName;

    /** 信令格式 */
    @Excel(name = "信令格式")
    @ApiModelProperty(value = "信令格式")
    private String signalFormat;

    /** 本地会话ID */
    @Excel(name = "本地会话ID")
    @ApiModelProperty(value = "本地会话ID")
    private String localSessionId;

    /** 远端会话ID */
    @Excel(name = "远端会话ID")
    @ApiModelProperty(value = "远端会话ID")
    private String remoteSessionId;

    /** 最小发送间隔 */
    @Excel(name = "最小发送间隔")
    @ApiModelProperty(value = "最小发送间隔")
    private String minSendInterval;

    /** 最小接收间隔 */
    @Excel(name = "最小接收间隔")
    @ApiModelProperty(value = "最小接收间隔")
    private String minReceiveInterval;

    /** 检测倍数 */
    @Excel(name = "检测倍数")
    @ApiModelProperty(value = "检测倍数")
    private String monitorX;

    /** 路径类型（工作、保护、备用-） */
    @Excel(name = "路径类型", readConverterExp = "工=作、保护、备用-")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 是否为模版（Y:是 N:否） */
    @Excel(name = "是否为模版", readConverterExp = "Y=:是,N=:否")
    @ApiModelProperty(value = "是否为模版")
    private String templateFlag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMplstpId(String mplstpId)
    {
        this.mplstpId = mplstpId;
    }

    public String getMplstpId()
    {
        return mplstpId;
    }
    public void setElementId(String elementId)
    {
        this.elementId = elementId;
    }

    public String getElementId()
    {
        return elementId;
    }
    public void setBfpName(String bfpName)
    {
        this.bfpName = bfpName;
    }

    public String getBfpName()
    {
        return bfpName;
    }
    public void setSignalFormat(String signalFormat)
    {
        this.signalFormat = signalFormat;
    }

    public String getSignalFormat()
    {
        return signalFormat;
    }
    public void setLocalSessionId(String localSessionId)
    {
        this.localSessionId = localSessionId;
    }

    public String getLocalSessionId()
    {
        return localSessionId;
    }
    public void setRemoteSessionId(String remoteSessionId)
    {
        this.remoteSessionId = remoteSessionId;
    }

    public String getRemoteSessionId()
    {
        return remoteSessionId;
    }
    public void setMinSendInterval(String minSendInterval)
    {
        this.minSendInterval = minSendInterval;
    }

    public String getMinSendInterval()
    {
        return minSendInterval;
    }
    public void setMinReceiveInterval(String minReceiveInterval)
    {
        this.minReceiveInterval = minReceiveInterval;
    }

    public String getMinReceiveInterval()
    {
        return minReceiveInterval;
    }
    public void setMonitorX(String monitorX)
    {
        this.monitorX = monitorX;
    }

    public String getMonitorX()
    {
        return monitorX;
    }
    public void setRouteType(String routeType)
    {
        this.routeType = routeType;
    }

    public String getRouteType()
    {
        return routeType;
    }
    public void setTemplateFlag(String templateFlag)
    {
        this.templateFlag = templateFlag;
    }

    public String getTemplateFlag()
    {
        return templateFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mplstpId", getMplstpId())
                .append("elementId", getElementId())
                .append("bfpName", getBfpName())
                .append("signalFormat", getSignalFormat())
                .append("localSessionId", getLocalSessionId())
                .append("remoteSessionId", getRemoteSessionId())
                .append("minSendInterval", getMinSendInterval())
                .append("minReceiveInterval", getMinReceiveInterval())
                .append("monitorX", getMonitorX())
                .append("routeType", getRouteType())
                .append("templateFlag", getTemplateFlag())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
